var express = require('express');
var router = express.Router();
// const { updateUser,uploadImages } = require('../controllers/userController');
// const { uploadImages } = require('../controllers/userController');




const {login,enroll,updateUser,uploadImages}=require("../controllers/userController")
/* GET users listing. */
// 登录
router.post('/login',login);
// 注册
router.post('/enroll',enroll);

// 主页
router.post('/uploadImages',uploadImages)
// 修改
router.put('/',updateUser)

module.exports = router;

